|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EMInterface
Field Summary | |
---|---|
static java.lang.String |
DEVICEDOESNOTEXIST
|
static java.lang.String |
FAILURE
|
static java.lang.String |
NODEVICESFOUND
|
static java.lang.String |
NOUSERSFOUND
|
static java.lang.String |
SUCCESS
|
static java.lang.String |
USERDOESNOTEXIST
|
Method Summary | |
---|---|
void |
init(java.lang.String serverIP,
java.lang.String serverUser,
java.lang.String serverPassword)
|
java.lang.String |
login(java.lang.String deviceName,
java.lang.String username,
java.lang.String deviceProfile,
java.lang.String duration)
Login the user into the device with the specificed profile |
java.lang.String |
logout(java.lang.String deviceName)
Logout any user that is currently logged into the device |
java.lang.String |
queryDevice(java.lang.String username)
Get the device name if any of the device the user is currently logged in to |
java.lang.String |
queryUser(java.lang.String deviceName)
Get the username if any of the user currently logged in to the specified device |
Field Detail |
---|
static final java.lang.String DEVICEDOESNOTEXIST
static final java.lang.String NODEVICESFOUND
static final java.lang.String USERDOESNOTEXIST
static final java.lang.String NOUSERSFOUND
static final java.lang.String FAILURE
static final java.lang.String SUCCESS
Method Detail |
---|
void init(java.lang.String serverIP, java.lang.String serverUser, java.lang.String serverPassword)
serverIP
- This is the IP address of the server running the EM ServicesserverUser
- Username of a user with that can execute EM command via the EMServices interface
This user must either be the user assigned to the device on which the operation is performed, or a user
with the "Standard EM Autheticatio Proxy Rights" role. This parameter is used as the AppID in the AppInfo objectserverPassword
- Password for the server USer. This parameter is used as the AppCertificate in the AppInfo objectjava.lang.String login(java.lang.String deviceName, java.lang.String username, java.lang.String deviceProfile, java.lang.String duration)
deviceName
- Device name of device to login tousername
- User to log indeviceProfile
- Device profile to useduration
- null for infinite or number of minutes to remain logged in
java.lang.String logout(java.lang.String deviceName)
deviceName
- Device name of device to logout of
java.lang.String queryDevice(java.lang.String username)
username
-
java.lang.String queryUser(java.lang.String deviceName)
deviceName
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |